package com.race;

/**
 * Created by iss on 17/11/21.
 */
public class QuickSortList {

    public static void main(String[] args) {
        LinkedList list = new LinkedList();
        Node n1 = new Node(2);
        Node n2 = new Node(4);
        Node n3 = new Node(1);
        Node n4 = new Node(3);
        Node n5 = new Node(0);
        Node n6 = new Node(7);
        Node n7 = new Node(1.5f);
        Node n8 = new Node(-2.7f);
        n1.next = n2;
        n2.next = n3;
        n3.next = n4;
        n4.next = n5;
        n5.next = n6;
        n6.next = n7;
        n7.next = n8;

        list.head = n1;
        list.tail = n8;

        System.out.println("test------");
        Node p = list.head;
    }

    private static class Node {
        Node next = null;
        float value;

        public Node(float value) {
            this.value = value;
        }

    }

    private static class LinkedList {
        Node head = null;
        Node tail = null;
    }

}
